Skip to content

Fix/verify compare partial#1144

Merged
stranske merged 5 commits intomainfrom
fix/verify-compare-partial
Jan 29, 2026
Merged

Fix/verify compare partial#1144
stranske merged 5 commits intomainfrom
fix/verify-compare-partial

Conversation

@stranske
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings January 29, 2026 04:57
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for dynamic token rotation configuration to enhance the existing token load balancer system. The changes enable repositories to configure additional authentication tokens and GitHub Apps without modifying workflow files.

Changes:

  • Introduces a new composite action .github/actions/export-load-balancer-tokens/action.yml to centralize token export logic
  • Adds support for TOKEN_ROTATION_JSON (structured config) and TOKEN_ROTATION_ENV_KEYS (comma-separated list) to dynamically register tokens
  • Updates token load balancer JavaScript to parse and register custom tokens/apps with duplicate detection
  • Integrates the new action across 50+ workflow files in both the main repository and consumer templates
  • Updates documentation to describe the new configuration mechanism

Reviewed changes

Copilot reviewed 61 out of 63 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
.github/actions/export-load-balancer-tokens/action.yml New composite action that exports token secrets to environment variables with multi-line value support
templates/consumer-repo/.github/actions/export-load-balancer-tokens/action.yml Template version of the composite action
.github/scripts/token_load_balancer.js Adds parsing functions and safe registration logic for dynamic token configuration
.github/scripts/github-api-with-retry.js Updates secret collection to include rotation keys and dynamically discovered keys
.github/scripts/github-rate-limited-wrapper.js Indentation fix for improved code readability
.github/scripts/README.md Documents the new composite action and token rotation configuration
.github/scripts/API_CALL_PATTERN.md Adds usage examples for the load balancer token action
.github/actionlint-allowlist.txt Suppresses false positives for new token rotation input properties
.github/workflows/*.yml (main repo) Integrates the token export action across 35+ workflows
templates/consumer-repo/.github/workflows/*.yml Integrates the token export action across 11 template workflows
.github/workflows/health-70-validate-sync-manifest.yml Fixes indentation and adds token export step

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@agents-workflows-bot
Copy link
Copy Markdown
Contributor

⚠️ Action Required: Unable to determine source issue for PR #1144. The PR title, branch name, or body must contain the issue number (e.g. #123, branch: issue-123, or the hidden marker ).

@stranske stranske temporarily deployed to agent-high-privilege January 29, 2026 05:12 — with GitHub Actions Inactive
@github-actions
Copy link
Copy Markdown
Contributor

Automated Status Summary

Head SHA: 2812183
Latest Runs: ⏳ pending — Gate
Required contexts: Gate / gate, Health 45 Agents Guard / Enforce agents workflow protections
Required: core tests (3.11): ⏳ pending, core tests (3.12): ⏳ pending, docker smoke: ⏳ pending, gate: ⏳ pending

Workflow / Job Result Logs
(no jobs reported) ⏳ pending

Coverage Overview

  • Coverage history entries: 1

Coverage Trend

Metric Value
Current 93.12%
Baseline 85.00%
Delta +8.12%
Minimum 70.00%
Status ✅ Pass

Top Coverage Hotspots (lowest coverage)

File Coverage Missing
src/cli_parser.py 81.8% 4
src/percentile_calculator.py 95.0% 1
src/aggregator.py 95.0% 2
src/__init__.py 100.0% 0
src/ndjson_parser.py 100.0% 0

Updated automatically; will refresh on subsequent CI/Docker completions.


Keepalive checklist

Scope

No scope information available

Tasks

  • No tasks defined

Acceptance criteria

  • No acceptance criteria defined

@stranske stranske merged commit 87b7a63 into main Jan 29, 2026
37 of 38 checks passed
@stranske stranske deleted the fix/verify-compare-partial branch January 29, 2026 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants